package com.ace.slide.model;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

import com.ace.slide.model.Enums.PaymentEnum;
import com.ace.slide.model.Enums.ShippingEnum;

@Entity
public class Order {
	private long orderId;
	private long memberId;
	private Date orderDate;
	private Date dueDate;
	private double quote;
	private boolean paid;
	private PaymentEnum paymentType;
	private ShippingEnum shippingMethod;
	private boolean widescreen;
	
	public Order() {
		super();
		// TODO Auto-generated constructor stub
	}

	@Id
	@GeneratedValue
	public long getOrderId() {
		return orderId;
	}
	public void setOrderId(long orderId) {
		this.orderId = orderId;
	}
	
	public long getMemberId() {
		return memberId;
	}
	public void setMemberId(long memberId) {
		this.memberId = memberId;
	}
	public Date getOrderDate() {
		return orderDate;
	}
	public void setOrderDate(Date orderDate) {
		this.orderDate = orderDate;
	}
	public Date getDueDate() {
		return dueDate;
	}
	public void setDueDate(Date dueDate) {
		this.dueDate = dueDate;
	}
	public double getQuote() {
		return quote;
	}
	public void setQuote(double quote) {
		this.quote = quote;
	}
	public boolean isPaid() {
		return paid;
	}
	public void setPaid(boolean paid) {
		this.paid = paid;
	}
	public PaymentEnum getPaymentType() {
		return paymentType;
	}
	public void setPaymentType(PaymentEnum paymentType) {
		this.paymentType = paymentType;
	}
	public ShippingEnum getShippingMethod() {
		return shippingMethod;
	}
	public void setShippingMethod(ShippingEnum shippingMethod) {
		this.shippingMethod = shippingMethod;
	}
	public boolean isWidescreen() {
		return widescreen;
	}
	public void setWidescreen(boolean widescreen) {
		this.widescreen = widescreen;
	}
	
}
